import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';
import {LoeeEntity} from '../../../comentity'

/**
 * 描述
 */
@EntityModel('classgroup')
export class classgroupEntity extends LoeeEntity {

  @Column({ comment: '班级课程类型'})
  class_course_type: number;

  @Column({ comment: '班级日期' })
  class_date: string;

  @Column({ comment: '班级类型' })
  class_type: number;

  @Column({ comment: '开学日期' })
  start_date: Date;

  @Column({ comment: '结课日期' })
  end_date: Date;

  @Column({ comment: '班级名称' })
  class_name: string;

  @Column({ comment: '班级号' })
  class_number: string;

  @Column({ comment: '班级教课老师' })
  class_teacher: number;

  @Column({ comment: '班级上课教室' })
  class_class_classroom: string;

  @Column({ comment: '班级等级' })
  class_level: string;

  @Column({ comment: '上课星期' })
  class_week: string;

  @Column({ comment: '上课开始时间' })
  class_start_time: string;

  @Column({ comment: '上课结束时间' })
  class_end_time: string;

  @Column({ comment: '备注', nullable: true,length: 1000})
  note: string;

  // 班级学生列表
  // class_students: number[];

  
}
